package mychat.dao;

import java.sql.Connection;
import java.sql.SQLException;
import java.util.List;

import mychat.vo.User;

public interface UserDao {
	public User findByName(String name) throws SQLException;
	public List<User> findAll() throws SQLException;
	public boolean doInsert(User user) throws SQLException;
	public boolean doDelete(User user) throws SQLException;
	public boolean doUpdate(User user) throws SQLException;
	public boolean isExist(String name) throws SQLException;
	public Connection getConnection();
}
